package com.asset.dispoal.companyMenu.service;

import com.asset.dispoal.companyMenu.api.CompanyMenuService;
import com.asset.dispoal.companyMenu.dto.CompanyMenuRequest;
import com.asset.dispoal.companyMenu.service.command.CompanyMenuModifyCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author qr
 * @date 2022/3/28$
 */
@Service
public class CompanyMenuServiceImpl implements CompanyMenuService {


    @Autowired
    CompanyMenuModifyCommand companyMenuModifyCommand;

    @Override
    public void modify(CompanyMenuRequest request) {
        companyMenuModifyCommand.execute(request);
    }
}
